import type { SignOptions } from "jsonwebtoken";

// jwt 密钥
export const JWT_SECRET = process.env.JWT_SECRET;
// jwt 有效时间 7 天，ex: 1h
export const JWT_EXPIRES = (process.env.JWT_EXPIRES ||
  "604800s") as SignOptions["expiresIn"];
